@import "~@/assets/style/unit/color.scss";

// 工具类名统一前缀
$prefix: d2;

// 禁止用户选中 鼠标变为手形
%unable-select {
  user-select: none;
  cursor: pointer;
}

// 填满父元素
// 组要父元素 position: relative | absolute;
%full {
  position: absolute;
  top: 0px;
  right: 0px;
  bottom: 0px;
  left: 0px;
}

// flex 垂直水平居中
%flex-center-row {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: row;
}

%flex-center-col {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

// 将元素模拟成卡片外观
%card {
  border: 1px solid #dddee1;
  border-color: #e9eaec;
  background: #fff;
  border-radius: 4px;
  font-size: 14px;
  position: relative;
}

// 修改原有样式
.tc {
  text-align: center;
}

.tl {
  text-align: left;
}

.tr {
  text-align: right;
}

// 距离
.mb10 {
  margin-bottom: 10px;
}

.el-table td{
  padding: 6px 0;
  border-right:none;
}
.el-table th{
  padding: 0;
}
.f16{
  font-size:16px;
}
.fr{
  float:right;
}
.el-input__inner {
  height: 34px;
  line-height: 34px;
}

.border-bg {
  background-color: transparent;
}

.mb {
  margin-bottom: 10px;
}

.d2-mb {
  margin-bottom: 10px !important;
}

.d2-layout-header-aside-group .d2-layout-header-aside-content .d2-theme-header .logo-group img {
  height: 32px;
  margin-top: 8px;
}

.d2-layout-header-aside-group .d2-layout-header-aside-content .d2-theme-container .d2-theme-container-main .d2-theme-container-main-body .container-component .d2-container-full .d2-container-full__body {
  padding: 20px 20px 50px 20px;
}
// 查看详情input样式
.el-input.is-disabled .el-input__inner{
  background-color:#fff!important;
  color: #696b6f!important;
}
//超过一行省略号
.wf{
  display: inline-block;
  white-space: nowrap; 
  width: 100%; 
  overflow: hidden;
  text-overflow:ellipsis;
}

.el-textarea.is-disabled .el-textarea__inner {
  background-color: #fff !important;
  color: #606266 !important;
}
// title
.fl {
  float: left;
}

.cb {
  clear: both;
}

.titleline .el-card__header {
  height: 56px;
}

.el-card__header {
  padding: 0 15px;
}

.title_l,
.title_x {
  display: inline-block;
}

.title_x {
  width: 4px;
  height: 40px;
  margin-top: 8px;
  margin-left: -15px;
}

.dib {
  display: inline-block;
}

.edit .el-input__inner {
  padding: 0 2px;
}

.edit .el-date-editor .el-input__inner {
  padding: 0 25px;
}

.el-table--border:after,
.el-table--group:after,
.el-table:before {
  background-color: rgb(221, 221, 221);
}
// ///////////////////////////////////////table样式调整
.el-input__suffix .el-input__suffix-inner .el-input__icon{
  width: 15px;
}
.el-table--border,
.el-table--group {
  border-color: rgb(221, 221, 221);
}

.el-table td,
.el-table th.is-leaf {
  border-bottom: 1px solid rgb(221, 221, 221);
}

.el-table--border th,
.el-table--border th.gutter:last-of-type {
  border-bottom: 1px solid rgb(221, 221, 221);
}

.el-table--border td,
.el-table--border th {
  border-right: 1px solid rgb(221, 221, 221);
}

.f14{
  font-size:14px;
}